package com.foton.lotterydomain.award.service.factory;

import com.foton.lotterydomain.award.model.res.DistributionRes;
import com.foton.lotterydomain.award.service.goods.IDistributionGoods;
import org.springframework.stereotype.Service;

/**
 * @Author RenPu
 * @Date 2023/11/25 16:10
 * @Version 1.0
 * @Description: 发放奖品策略
 **/

@Service
public class DistributionGoodsFactory extends GoodsConfig {

    public IDistributionGoods getDistributionGoodsService(Integer awardType) {
        return goodsStrategyContainer.get(awardType);

    }
}
